package com.example.sea.core.data.user.model;

import java.util.Date;
import java.util.List;

/**
 * 描述：
 *
 * @author zengyz
 * @date 2018/7/9 上午 11:54
 */
public class AuthPermissionModel {

    private String id;

    private Integer type;

    private String icon;

    private String code;

    private String name;

    private String path;

    private Integer sort;

    private Integer state;

    private Date createTime;

    /**
     * 是否角色选中
     */
    private Integer isRole;

    private List<AuthPermissionModel> authPermissionModels;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsRole() {
        return isRole;
    }

    public void setIsRole(Integer isRole) {
        this.isRole = isRole;
    }

    public List<AuthPermissionModel> getAuthPermissionModels() {
        return authPermissionModels;
    }

    public void setAuthPermissionModels(List<AuthPermissionModel> authPermissionModels) {
        this.authPermissionModels = authPermissionModels;
    }
}
